package com.hhss.qishi.config.exception;

import javax.annotation.Resource;

import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;

@Component
public class PropertiesManager {

    @Resource
    Environment environment;

    public String getMsg(String code) {
    	return environment.getProperty(code);
    }

}